package com.cloud.dao.wxusersubscribe;

import com.cloud.model.entity.wxusersubscribe.WxUserSubscribe;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * <b><code>WxUserSubscribeDao</code></b>
 * <p/>
 * WxUserSubscribe的具体实现
 * <p/>
 * <b>Creation Time:</b> 2020-01-12 00:22:03.
 *
 * @author ${model.author}
 * @version 1.0.0
 * @since cloud-spring-boot-be 1.0.0
 */
@Repository
public interface WxUserSubscribeDao extends JpaRepository<WxUserSubscribe, Long>, JpaSpecificationExecutor<WxUserSubscribe> {

    WxUserSubscribe findByUserIdAndSubscribeId(Long userId, String subscribeId);
}
